Add holux case.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 20 Sep 2002 17:09:50 +0000 (17:09 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 20 Sep 2002 17:09:50 +0000 (17:09 +0000)
gpsbabel/reference/paris.wpo [new file with mode: 0644]
gpsbabel/testo

diff --git a/gpsbabel/reference/paris.wpo b/gpsbabel/reference/paris.wpo
new file mode 100644 (file)
index 0000000..d9f4252
Binary files /dev/null and b/gpsbabel/reference/paris.wpo differ
index 58ced8c71246c54954428a3d62c15527e4296be5..45762094f2de6ddc49d1c54c4687b054ab17690d 100755 (executable)
@@ -85,3 +85,10 @@ ${PNAME} -i ozi -f reference/ozi.ozi -o ozi -F ${TMPDIR}/oz.ozi
 ${PNAME} -i ozi -f ${TMPDIR}/oz.ozi -o ozi -F ${TMPDIR}/ozi.ozi
 diff ${TMPDIR}/ozi.ozi reference
 
+# Holux support is a little funky to test.  Becuase it loses precision,
+# if we convert it to another format, we lose accuracy (rounding) in the
+# coords, so converting it so something else and comparing it never works.
+# So we verify that we can read the reference and write it and get an
+# identical reference.
+${PNAME} -i holux -f reference/paris.wpo -o holux -F ${TMPDIR}/paris.wpo
+diff reference/paris.wpo ${TMPDIR}/paris.wpo